<?php
/**
 * Mobile Joomla!
 * http://www.mobilejoomla.com
 *
 * @version		0.9.9
 * @license		http://www.gnu.org/licenses/gpl-2.0.htm GNU/GPL
 * @copyright	(C) 2008-2010 MobileJoomla!
 * @date		December 2010
 */
defined('_JEXEC') or die('Restricted access');

class modMarkupChooserHelper
{
	static $base = '';
	static $return = '';
	static $show_chosen_markup = true;

	function getChangeLink($user_markup, $test_markup, $text)
	{
		if($user_markup == $test_markup)
			return modMarkupChooserHelper::$show_chosen_markup?'':false;
		else
			return modMarkupChooserHelper::$base.'index2.php?option=com_mobilejoomla&amp;task=setmarkup&amp;markup='.$test_markup.'&amp;return='.modMarkupChooserHelper::$return;
	}
}
